package com.xg.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-third")
public interface ThirdFeignClient {

    /**
     * 发送短信验证码
     * @param phone
     * @param code
     */
    @RequestMapping("/third/sms/sendCode")
    void sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);

}
